<template>
    <div class="container">
        <div class="computer">            
            <keep-alive>
                <router-view></router-view>
            </keep-alive>
        </div>
        <ul class="btn-group">
            <router-link to="msgWall"><li class="yellow-btn">微信墙</li></router-link>
            <router-link to="signIn"><li class="red-btn">签到</li></router-link>
            <router-link to="lucky"><li class="blue-btn">抽奖</li></router-link>
        </ul>
    </div>
</template>

<script>
export default {
  name: 'wallContainer',
  data () {
    return {

    }
  }
}
</script>

<style scoped>
.container {
    position: relative;
}
.computer {
    border: 30px solid rgb(210,210,210);
    border-bottom: 80px solid rgb(210,210,210);
    height: 500px;
    border-radius: 20px;
    margin: 10px;
    position: relative;
    background-color: black;
    box-shadow: 0px 0px 15px #eee,0px 0px 15px #eee,0px 0px 15px #eee;
    overflow: auto;
}
.btn-group {
    position: absolute;
    bottom: 0px;
}
.btn-group li{
    float: left;
    list-style: none;
    color: #eee;
    width: 110px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    border-radius: 25px;
    margin-right: 50px;
    background-color: black;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
}
.btn-group li:hover {
    opacity: 0.8;
}
.yellow-btn{
    background-color: rgb(255,255,0);
    box-shadow: 5px 5px 8px rgba(255,255,0,0.5);
}
.red-btn{
    background-color: rgb(255,0,0);
    box-shadow: 5px 5px 8px rgba(255,0,0,0.5);
}
.blue-btn{
    background-color: rgb(0,128,255);
    box-shadow: 5px 5px 8px rgba(0,128,255,0.5);
}
</style>